<?php
/* Smarty version 3.1.31, created on 2018-05-17 00:21:15
  from "D:\wamp64\www\wanju\views\user\edit-manager.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.31',
  'unifunc' => 'content_5afc5a7be65684_51273359',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '7be758e1b2bd6a78c2cfaa27b9676ada63fc1c8f' => 
    array (
      0 => 'D:\\wamp64\\www\\wanju\\views\\user\\edit-manager.html',
      1 => 1526487349,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5afc5a7be65684_51273359 (Smarty_Internal_Template $_smarty_tpl) {
?>

  <div class="x_panel">
    <div class="x_content row">
      <div class=" col-md-6 col-sm-12 col-xs-12">
        <form class="form-horizontal form-label-left" action="<?php echo $_smarty_tpl->tpl_vars['actionUrl']->value;?>
" method="post">
          <div class="form-group">

              <label class="control-label col-md-4 col-sm-4 col-xs-12">店长名称：</label>
              <div class="checkbox col-md-8 col-sm-8 col-xs-12">
                  <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[manager_name]" value="<?php echo $_smarty_tpl->tpl_vars['manager']->value['manager_name'];?>
">
              </div>

            <label class="control-label col-md-4 col-sm-4 col-xs-12">合同开始时间:</label>
            <div class="col-md-8 col-sm-8 col-xs-12">
            <input type="text"  name="form[contract_start_time]" value="<?php echo date('Y-m-d',strtotime($_smarty_tpl->tpl_vars['manager']->value['contract_start_time']));?>
" placeholder="合同开始时间" id="J_dh_start" class="form-control-new" >
            </div>

            <label class="control-label col-md-4 col-sm-4 col-xs-12">合同结束时间:</label>
            <div class="col-md-8 col-sm-8 col-xs-12">
              <input type="text"  name="form[contract_end_time]" value="<?php echo date('Y-m-d',strtotime($_smarty_tpl->tpl_vars['manager']->value['contract_end_time']));?>
" placeholder="合同结束时间" id="J_dh_end" class="form-control-new" >
            </div>
          </div>


          <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
            <input name="manager_id" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['manager']->value['manager_id'];?>
">
            <button class="btn btn-success" type="submit">更新</button>
          </div>
        </form>
      </div>
    </div>
  </div>
  <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/libs/js/datepicker/bootstrap-datetimepicker.min.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
>
      var startDate = $('#J_dh_start').datetimepicker({
          format: "yyyy-MM-dd",
          autoclose: true,
          todayBtn: true,
          minView: 2,
      }).on('changeDate', function(ev) {
          //var evDate = ev.date.getFullYear() + '-' + (ev.date.getMonth() + 1) + '-' + ev.date.getDate();
          //$('#J_dh_end').datetimepicker('setStartDate', evDate);

      });

      var startDate = $('#J_dh_end').datetimepicker({
          format: "yyyy-MM-dd",
          autoclose: true,
          todayBtn: true,
          minView: 2,
      }).on('changeDate', function(ev) {
          //var evDate = ev.date.getFullYear() + '-' + (ev.date.getMonth() + 1) + '-' + ev.date.getDate();
          //$('#J_dh_end').datetimepicker('setStartDate', evDate);

      });
  <?php echo '</script'; ?>
><?php }
}
